package com.framework.service;

import com.baomidou.mybatisplus.service.IService;
import com.framework.entity.ter.TerMerchantIncoming;
import com.framework.page.PageUtils;

import java.util.List;
import java.util.Map;

/**
 * 商户进件
 * @author wq
 */
public interface TerMerchantIncomingService extends IService<TerMerchantIncoming> {
    /**
     * 根据token 获取商户进件
     * @param token
     * @return
     */
    List<TerMerchantIncoming> getMerIncomingByToken(String token);

    /**
     * 分页查询
     * @param params
     * @return
     */
    PageUtils queryPage(Map<String, Object> params);

    /**
     * 保存
     * @param incoming
     */
    void save(TerMerchantIncoming incoming);

    /**
     * 删除
     * @param ids
     */
    void deleteByIds(String[] ids);
}
